package com.hmall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.user.pojo.Address;
import com.hmall.user.pojo.User;

import java.util.List;

public interface UserService extends IService<com.hmall.user.pojo.User> {
    List<Address> getAddress();

    Address queryAddress(Long id);

    User findUser(Long userId);

    Boolean pay(Long userId, Long num);

    Long queryBalance(Long userId);
}
